package a.e.a;

import a.d.w;
import a.j.jg;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

public class eb
  extends cb
{
  public static final Map b;
  public static final Map c = new HashMap(11);
  public static int d;
  
  public void a(Object paramObject, g paramg)
    throws IOException
  {
    boolean bool = r.f;
    int i = r.e;
    super.a(paramObject, paramg);
    jg localjg = (jg)paramObject;
    if (((bool) || (localjg.H() != null)) && ((bool) || (!localjg.H().equals(""))))
    {
      Object localObject;
      if (!bool)
      {
        if (localjg.D() == 4)
        {
          localObject = localjg.L();
          paramg.a("x", ((w)localObject).a);
          paramg.a("y", ((w)localObject).b);
          if (bool) {
            break label229;
          }
          if (i == 0) {
            break label221;
          }
        }
        if (bool) {}
      }
      else
      {
        if (localjg.D() != 1)
        {
          if (bool) {
            break label206;
          }
          if (localjg.D() != 5) {
            break label162;
          }
        }
        paramg.a("anchor", b.get(new Byte(localjg.C())));
      }
      if (!bool) {
        if (i != 0)
        {
          label162:
          paramg.a("model", c.get(new Byte(localjg.D())));
          label206:
          localObject = b.get(new Byte(localjg.C()));
          if (localObject != null) {
            paramg.a("anchor", localObject);
          }
        }
      }
      label221:
      if (localjg.cb() != 4.0D) {
        label229:
        paramg.a("borderDistance", localjg.cb());
      }
    }
  }
  
  public static String b(byte paramByte)
  {
    switch (paramByte)
    {
    case 1: 
      return "node_width";
    case 3: 
      return "node_size";
    case 4: 
      return "none";
    case 2: 
      return "node_height";
    }
    return "content";
  }
  
  static
  {
    c.put(new Byte((byte)4), "free");
    c.put(new Byte((byte)3), "sides");
    c.put(new Byte((byte)0), "corners");
    c.put(new Byte((byte)5), "eight_pos");
    c.put(new Byte((byte)2), "sandwich");
    c.put(new Byte((byte)1), "internal");
    c.put(new Byte((byte)6), "edge_opposite");
    b = new HashMap(23);
    b.put(new Byte((byte)108), "n");
    b.put(new Byte((byte)104), "nw");
    b.put(new Byte((byte)105), "ne");
    b.put(new Byte((byte)111), "w");
    b.put(new Byte((byte)110), "e");
    b.put(new Byte((byte)107), "sw");
    b.put(new Byte((byte)109), "s");
    b.put(new Byte((byte)106), "se");
    b.put(new Byte((byte)114), "anywhere");
    b.put(new Byte((byte)100), "c");
    b.put(new Byte((byte)117), "tl");
    b.put(new Byte((byte)102), "t");
    b.put(new Byte((byte)118), "tr");
    b.put(new Byte((byte)116), "r");
    b.put(new Byte((byte)115), "l");
    b.put(new Byte((byte)119), "bl");
    b.put(new Byte((byte)101), "b");
    b.put(new Byte((byte)120), "br");
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.e.a.eb

 * JD-Core Version:    0.7.0.1

 */